<Code Lib>
M

ExternalResourceBrowserData.AddResource(String, IDictionary<String, String>)

Description:
Adds an external resource to the folder path by supplying the resource name and reference information.
Overloads (4):
AddResource(String,IDictionary[String,String])

public void AddResource(
	string resourceName,
	IDictionary<string, string> referenceInformation
)

  • String
    resourceName
    The unique short name of external resource.
  • IDictionary<StringString>
    referenceInformation
    The (String, String) map containing reference or lookup information that will be stored in Revit.

  • The resourceName is not a valid resource name used to display in Revit external resource browse UI. The name should be a unique non-empty short name and it should not contain any invalid character of \\/:*?"<>|. The length of combined path(server name + folder path + resourceName) should not exceeds 259.
  • A non-optional argument was null

Loading…